package can;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean
@SessionScoped
public class LoginBean {
	private String results = "";
	
	//input fields
	private String username;
	private String password;
	
	//action method - does the operation
	public void doLogin() {
		//parse all fields and construct the operation command
		
		//call RequestHandler with proper parameters
		results = RequestHandler.logIn();
	}
	
	//accessors and mutators
	public String getResults() {
		return results;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public void setPassword(String password) {
		this.password = password;
	}
}
